#include<stdio.h>

int main()
{
    double t[9][9]={};
    double (*p)[9]=t;
    int  i ,j;
    int  a;
    printf("type the location\n");
    scanf(" %d %d",&i,&j);
    a=sizeof(double);
    printf("%d\n",a*((*(t+i)+j)-*(t)));
    return 0;
}

